package com.kevin.book.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

import com.kevin.book.dao.BookMapper;
import com.kevin.book.service.IBookService;
import com.kevin.entity.BookPo;

@Service("bookService")
public class BookServiceImpl implements IBookService{
	
	@Autowired
	private BookMapper bookMapper;

	@Override
	@Cacheable(value="bookList")
	public List<BookPo> queryList(Map<String, Object> params) {
		return bookMapper.selectList();
	}

}
